import type { ComponentType } from "./types";

/**
 * @description 为form的model设置每个form-item 中组件的默认值
 * @param component 联合类型
 */
export function getDefValue(component: ComponentType): unknown {
  switch (component) {
    case "InputNumber":
      return undefined;

    default:
      return "";
  }
}
